package dgut.haitaobao.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/*轮播图*/
@Data
@TableName(value = "index_img",autoResultMap = true)
public class IndexImg {
    @TableId(value = "img_id",type = IdType.INPUT)
    private String imgId;

    @TableField(value = "img_url")
    private String imgUrl;

    @TableField(value = "img_bg_color")
    private String imgBgColor;

    @TableField(value = "prod_id")
    private String prodId;

    @TableField(value = "category_id")
    private String categoryId;

    @TableField(value = "index_type")
    private Integer indexType;

    @TableField(value = "seq")
    private Integer seq;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_time")
    private Date updateTime;
}
